home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-04-25 | 1.6 KB | 75 lines | [TEXT/MPS ] |
- //==============================================================================
- //
- // File: SLStrRun.idl
- //
- // Contains: Interface for OTextRunReader and OTextRunWriter classes
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //==============================================================================
-
- #ifndef SLSTRRUN_IDL
- #define SLSTRRUN_IDL
-
- #ifndef SLTXTRUN_IDL
- #include "SLTxtRun.idl"
- #endif
-
- //========================================================================================
- // Interfaces defined in this unit
- //========================================================================================
-
- interface FW_OStringRunWriter;
-
- //========================================================================================
- // FW_OTextRunWriter
- //========================================================================================
-
- typedef somToken FW_SPrivStringRep;
-
- interface FW_OStringRunWriter : FW_OTextRunWriter
- {
- FW_OStringRunWriter Initialize(in FW_SPrivStringRep* theString, in short bufferSize);
-
- #ifdef __SOMIDL__
- implementation
- {
- functionprefix = "FW_OStringRunWriter__";
-
- override:
- somInit,
- somUninit,
- GetCurrentRun,
- FlushRun,
- NewRun;
-
- releaseorder:
- somInit,
- somUninit,
- GetCurrentRun,
- FlushRun,
- NewRun,
- Initialize;
-
- majorversion = 1;
- minorversion = 0;
-
- passthru C_xh =
- "struct FW_SPrivStringRep;";
-
- passthru C_xih =
- "";
-
- #ifdef __PRIVATE__
- // private data members here
- FW_SPrivStringRep* fString;
- short fBufferSize;
- char* fBuffer;
- #endif
-
- };
- #endif
- };
-
- #endif
-